#include<stdio.h>
void putBin(unsigned input){
    unsigned mask = 1u<<31;
    for(;mask;mask>>=1){
        printf("%d",mask&input?1:0);
    }
    printf("\n");
}